package com.example.work_03;

import android.app.Service;
import android.content.Intent;
import android.os.IBinder;
import android.os.RemoteException;

public class MyService extends Service {
    IMyAidlInterface.Stub mStub=new IMyAidlInterface.Stub() {
        @Override
        public int add(int arg1, int arh2) throws RemoteException {
            return arg1+arh2;
        }
    };
    @Override
    public IBinder onBind(Intent intent){
        return mStub;
    }
}
